﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="wucProductDetails.ascx.cs" Inherits="Modules_HugKid_wucProductDetails" %>

<script type="text/javascript">
    
</script>
<div class="rightpage">
    <div style="margin-bottom: 10px;">
        <img src="App_Themes/HugKidTheme/images2/bannerPro.jpg" /></div>
    <div id="product">
        <div class="pro-special">
            <h1><asp:Label ID="lbProductName" runat="server"></asp:Label></h1>
        </div>
        <div class="pro-special">
            <table cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                        <table cellpadding="0" cellspacing="0">
                            <tr>
                                <td>
                                    <asp:Label ID="lbMagicZoom" runat="server"></asp:Label>                                    
                                </td>
                            </tr>
                            <tr>
                                <td height="10">
                                </td>
                            </tr>
                            <tr>
                                <td align="center">
                                    <asp:Label ID="lbSubMagicZoom1" runat="server"></asp:Label>
                                    <asp:Label ID="lbSubMagicZoom2" runat="server"></asp:Label>
                                    <asp:Label ID="lbSubMagicZoom3" runat="server"></asp:Label>
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td style="width: 20px">
                    </td>
                    <td valign="top">
                        <table cellpadding="0" cellspacing="0" style="color:#000000; font-family:Arial;">
                            <tr>
                                <td style="color: #2D2D2D; font-family: Tahoma,Arial,Helvetica,sans-serif; font-size: 13px;">
                                    Mã sản phẩm: <asp:Label ID="lbProductCode" runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <div>
                                        <div>
                                            Giá thị trường: <asp:Label ID="lbPrice" runat="server" CssClass="ducna"></asp:Label>&nbsp; VNĐ
                                            <p style="color:#2C8F3A;">
                                                Giá: <asp:Label ID="lbDiscount" runat="server"></asp:Label>&nbsp; VNĐ
                                            </p>
                                            Tiết kiệm: <asp:Label ID="lbSave" runat="server"></asp:Label> &nbsp; VNĐ
                                        </div>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Literal ID="ltBuy" runat="server">
                                        
                                    </asp:Literal>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <div>
                                        <div style="color:#000000;">
                                            Mô tả: 
                                                <p>                                                   
                                                    <asp:Label ID="lbDescription" runat="server"></asp:Label> 
                                                </p>
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td style="width: 20px">
                    </td>
                </tr>
            </table>
            <table cellpadding="0" cellspacing="0">
                <tr>
                    <td height="10px">
                    </td>
                </tr>
            </table>
        </div>
        <div class="pro-special">
            <h2>Sản phẩm cùng loại</h2>            
            <asp:DataList ID="dlSameProductList" runat="server" CssClass="boxproductA" CellPadding="0" CellSpacing="0" BorderWidth="0" RepeatColumns="5">
                <ItemTemplate>
                    <td class="itempro" valign="top" style="padding-bottom:15px;">
                        <a href="?Page=ProductDetails&ProductId=<%# Eval("ItemID") %> "><img src="<%# Eval("Image") %>" style="width:144px; height:144px; overflow:hidden;"/></a>                                       
                        <p><a href="?Page=ProductDetails&ProductId=<%# Eval("ItemID") %> " style="color:#000000;">
                        <%# ((Eval("ItemName").ToString().Length > 17) ? Eval("ItemName").ToString().Substring(0, 17) + " ..." : Eval("ItemName")) %></a></p>
                        <p style="color:#2C8F3A;"><%# Eval("Atribute1") %></p>
                    </td>
                    <td width="<%# (Container.ItemIndex % 6) == 0 ? 0 : 22 %>" style="padding-bottom:15px;">
                </ItemTemplate>
            </asp:DataList>                
        </div>
    </div>
</div>